
----------------------------------------------------------------
-- InternalInterface  Initialization Variables
----------------------------------------------------------------
InternalInterface = {}


function InternalInterface.Initialize()
    
    -- Load the Window Definitions
    LoadResources( "", "InternalInterface.xml" )	
end

function InternalInterface.Update( timePassed )

end

function InternalInterface.Shutdown()

end



function InternalInterface.CreateCoreWindows()

end


function InternalInterface.CreateTitleInterface()

    InternalInterface.CreateCoreWindows()

end


function InternalInterface.CreateLoginInterface()
    InternalInterface.CreateCoreWindows()
end

function InternalInterface.CreateCharacterSelectionInterface()

    if (not DoesWindowExist("ServerNameWindow")) then
	    CreateWindow( "ServerNameWindow", true )
	end

    InternalInterface.CreateCoreWindows()
end

function InternalInterface.CreateCharacterCreationInterface()

    if (not DoesWindowExist("ServerNameWindow")) then
	    CreateWindow( "ServerNameWindow", true )
	end

    InternalInterface.CreateCoreWindows()
end

function InternalInterface.CreateLoadingInterface()
    
    if (not DoesWindowExist("ServerNameWindow")) then
	    CreateWindow( "ServerNameWindow", true )
	end
    
    InternalInterface.CreateCoreWindows()
end

function InternalInterface.CreatePlayInterface()
    
    if (not DoesWindowExist("ServerNameWindow")) then
	    CreateWindow( "ServerNameWindow", true )
	end
    
    InternalInterface.CreateCoreWindows()
end

